<!DOCTYPE html>


<html lang="zh-CN">


<head>
  <meta charset="utf-8" />
    
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <title>
    优质网站收集.md |  
  </title>
  <meta name="generator" content="hexo-theme-ayer">
  
  <link rel="shortcut icon" href="/favicon.ico" />
  
  
<link rel="stylesheet" href="/dist/main.css">

  
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Shen-Yu/cdn/css/remixicon.min.css">

  
<link rel="stylesheet" href="/css/custom.css">

  
  
<script src="https://cdn.jsdelivr.net/npm/pace-js@1.0.2/pace.min.js"></script>

  
  

  

</head>

</html>

<body>
  <div id="app">
    
      
    <main class="content on">
      <section class="outer">
  <article
  id="post-tips/优质网站收集"
  class="article article-type-post"
  itemscope
  itemprop="blogPost"
  data-scroll-reveal
>
  <div class="article-inner">
    
    <header class="article-header">
       
<h1 class="article-title sea-center" style="border-left:0" itemprop="name">
  优质网站收集.md
</h1>
 

    </header>
     
    <div class="article-meta">
      <a href="/2020/11/11/tips/%E4%BC%98%E8%B4%A8%E7%BD%91%E7%AB%99%E6%94%B6%E9%9B%86/" class="article-date">
  <time datetime="2020-11-10T16:00:00.000Z" itemprop="datePublished">2020-11-11</time>
</a> 
  <div class="article-category">
    <a class="article-category-link" href="/categories/tips/">tips</a>
  </div>
  
<div class="word_count">
    <span class="post-time">
        <span class="post-meta-item-icon">
            <i class="ri-quill-pen-line"></i>
            <span class="post-meta-item-text"> 字数统计:</span>
            <span class="post-count">1.6k</span>
        </span>
    </span>

    <span class="post-time">
        &nbsp; | &nbsp;
        <span class="post-meta-item-icon">
            <i class="ri-book-open-line"></i>
            <span class="post-meta-item-text"> 阅读时长≈</span>
            <span class="post-count">5 分钟</span>
        </span>
    </span>
</div>
 
    </div>
      
    <div class="tocbot"></div>




  
    <div class="article-entry" itemprop="articleBody">
       
  <h1 id="优质网站收集"><a href="#优质网站收集" class="headerlink" title="优质网站收集"></a>优质网站收集</h1><p><a target="_blank" rel="noopener" href="https://panjiachen.github.io/awesome-bookmarks/">一位大佬的收藏夹</a></p>
<p><a target="_blank" rel="noopener" href="https://maliquankai.com/designnav/">码力全开资源库</a> 很全很强大，独立开发者/设计干货/优质利器/工具资源…</p>
<a id="more"></a> 

<h2 id="文档"><a href="#文档" class="headerlink" title="文档"></a>文档</h2><ul>
<li><a target="_blank" rel="noopener" href="https://developer.mozilla.org/zh-CN/docs/Web">MDN</a> Web技术权威文档</li>
<li><a target="_blank" rel="noopener" href="https://zh.javascript.info/">现代JavaScript教程</a> 以最新标准为基准的JS教程</li>
<li><a target="_blank" rel="noopener" href="https://wangdoc.com/javascript/">ES5教程</a> 阮一峰的JS教程</li>
<li><a target="_blank" rel="noopener" href="http://es6.ruanyifeng.com/">ES6教程</a> 阮一峰的ES6教程</li>
<li><a target="_blank" rel="noopener" href="https://wangdoc.com/bash/">Bash 脚本教程</a> 阮一峰编写</li>
<li><a target="_blank" rel="noopener" href="https://www.ecma-international.org/">ECMA</a> ECMA官网</li>
<li><a target="_blank" rel="noopener" href="https://www.runoob.com/">菜鸟教程</a> 涵盖多种语言的初级教程</li>
<li><a target="_blank" rel="noopener" href="https://cloud.tencent.com/developer/devdocs">腾讯云开发者手册</a></li>
</ul>
<h2 id="社区"><a href="#社区" class="headerlink" title="社区"></a>社区</h2><ul>
<li><a target="_blank" rel="noopener" href="https://github.com/">Github</a> 程序员同性交友社区</li>
<li><a target="_blank" rel="noopener" href="https://juejin.im/">掘金</a> 一个帮助开发者成长的社区</li>
<li><a target="_blank" rel="noopener" href="https://www.jianshu.com/">简书</a> 有很多频道的创作社区</li>
<li><a target="_blank" rel="noopener" href="https://segmentfault.com/">思否</a> 解决技术问题的社区</li>
<li><a target="_blank" rel="noopener" href="https://stackoverflow.com/">stack overflow</a> 同上，外网的</li>
<li><a target="_blank" rel="noopener" href="https://www.infoq.cn/topic/Front-end">InfoQ</a></li>
<li><a target="_blank" rel="noopener" href="https://www.v2ex.com/">V2EX</a></li>
<li><a target="_blank" rel="noopener" href="https://mo.fish/main/home/hot">鱼塘热榜</a> 划水网站，收集了很多网站，当天热门文章</li>
</ul>
<h2 id="博客"><a href="#博客" class="headerlink" title="博客"></a>博客</h2><ul>
<li><a target="_blank" rel="noopener" href="http://www.ruanyifeng.com/blog/">阮一峰的网络日志</a></li>
<li><a target="_blank" rel="noopener" href="https://css-tricks.com/">css-tricks</a> css技巧文章</li>
</ul>
<h2 id="文章"><a href="#文章" class="headerlink" title="文章"></a>文章</h2><ul>
<li><a target="_blank" rel="noopener" href="https://juejin.im/post/5d4d0ec651882549594e7293">灵活运用CSS开发技巧</a></li>
</ul>
<h2 id="视频"><a href="#视频" class="headerlink" title="视频"></a>视频</h2><ul>
<li><a target="_blank" rel="noopener" href="https://www.imooc.com/">慕课网</a> 实战视频教程</li>
<li><a target="_blank" rel="noopener" href="https://www.miaov.com/">妙味课堂</a> 比较系统的前端入门视频教程</li>
<li><a target="_blank" rel="noopener" href="https://www.icourse163.org/">中国大学MOOC</a> 涵盖计算机、外语、心理学等专业免费课程</li>
<li><a target="_blank" rel="noopener" href="https://www.bilibili.com/">bilibili</a> B站，上面也有一些可供学习的免费视频</li>
<li><a target="_blank" rel="noopener" href="http://egghead.io/">egghead</a> 质量还不错的短视频教程，外网</li>
</ul>
<h3 id="电视直播"><a href="#电视直播" class="headerlink" title="电视直播"></a>电视直播</h3><ul>
<li><a target="_blank" rel="noopener" href="http://ivi.bupt.edu.cn/">CCTV、卫视高清直播</a> </li>
</ul>
<h2 id="Github"><a href="#Github" class="headerlink" title="Github"></a>Github</h2><ul>
<li><a target="_blank" rel="noopener" href="https://git.io/">github 短域名服务</a></li>
<li><a target="_blank" rel="noopener" href="https://shields.io/">shields</a> 徽章图标</li>
<li><a target="_blank" rel="noopener" href="https://wangchujiang.com/github-rank/index.html">followers 全球排名</a></li>
<li><a target="_blank" rel="noopener" href="https://star-history.t9t.io/">star-history</a> 展示一个项目 Stars 增长曲线</li>
</ul>
<h2 id="在线工具"><a href="#在线工具" class="headerlink" title="在线工具"></a>在线工具</h2><h3 id="开发"><a href="#开发" class="headerlink" title="开发"></a>开发</h3><ul>
<li><a target="_blank" rel="noopener" href="https://caniuse.com/">Can I use</a> 查看属性和方法的兼容性</li>
<li><a target="_blank" rel="noopener" href="https://30secondsofcode.org/">30 seconds of code</a> 收集了许多有用的代码小片段</li>
</ul>
<h3 id="代码编辑"><a href="#代码编辑" class="headerlink" title="代码编辑"></a>代码编辑</h3><ul>
<li><a target="_blank" rel="noopener" href="https://codepen.io/">codepen</a> 在线代码编辑与演示</li>
<li><a target="_blank" rel="noopener" href="https://codesandbox.io/">codesandbox</a> 内嵌VSCode的在线IDE<h3 id="UI"><a href="#UI" class="headerlink" title="UI"></a>UI</h3></li>
<li><a target="_blank" rel="noopener" href="https://www.iconfont.cn/">iconfont</a> 阿里巴巴矢量图标库</li>
<li><a target="_blank" rel="noopener" href="https://undraw.co/illustrations">undraw</a> 免费的矢量插画</li>
<li><a target="_blank" rel="noopener" href="https://icomoon.io/">icomoon</a> 矢量图标库</li>
<li><a target="_blank" rel="noopener" href="http://cssicon.space/#/">cssicon</a> 所有的 icon 都是纯 css 画的 缺点：icon 不够多</li>
<li><a target="_blank" rel="noopener" href="http://apps.eky.hk/css-triangle-generator/">CSS triangle generator</a> 帮你快速用 css 做出三角形</li>
<li><a target="_blank" rel="noopener" href="http://bennettfeely.com/clippy/">clippy</a> 在线帮你使用 css clip-path 做出各种形状的图形</li>
<li><a target="_blank" rel="noopener" href="https://picsum.photos/">Lorem Picsum</a> 提供免费的占位图</li>
</ul>
<h3 id="Emoji表情"><a href="#Emoji表情" class="headerlink" title="Emoji表情"></a>Emoji表情</h3><ul>
<li><a target="_blank" rel="noopener" href="https://emojipedia.org/">emoji表情</a></li>
<li><a target="_blank" rel="noopener" href="https://www.webfx.com/tools/emoji-cheat-sheet">emoji表情备忘录</a></li>
<li><a target="_blank" rel="noopener" href="https://github.com/carloscuesta/gitmoji">gitmoji</a> 通过 emoji 表达 git 的操作内容<blockquote>
<p>windows系统下按<kbd>Win</kbd>+<kbd>.</kbd>快速打开表情选择框</p>
</blockquote>
</li>
</ul>
<h3 id="图片压缩"><a href="#图片压缩" class="headerlink" title="图片压缩"></a>图片压缩</h3><ul>
<li><a target="_blank" rel="noopener" href="https://tinypng.com/">tinypng图片压缩</a> 压缩png很有用</li>
<li><a target="_blank" rel="noopener" href="https://squoosh.app/">Squoosh</a> 谷歌出品在线免费图片压缩工具</li>
</ul>
<h3 id="作图"><a href="#作图" class="headerlink" title="作图"></a>作图</h3><ul>
<li><a target="_blank" rel="noopener" href="https://www.processon.com/">processon在线作图</a> 流程图、思维导图、原型图等</li>
<li><a target="_blank" rel="noopener" href="https://naotu.baidu.com/">百度脑图</a> 思维导图</li>
</ul>
<h3 id="CSS"><a href="#CSS" class="headerlink" title="CSS"></a>CSS</h3><ul>
<li><a target="_blank" rel="noopener" href="http://css-tricks.neatbang.com/">CSS Tricks</a> CSS技巧收集与演示</li>
<li><a target="_blank" rel="noopener" href="https://neumorphism.io/">CSS生成器</a></li>
<li><a target="_blank" rel="noopener" href="https://www.colorzilla.com/gradient-editor/">CSS渐变生成器</a></li>
<li><a target="_blank" rel="noopener" href="https://www.html.cn/tool/css3Preview/Box-Shadow.html">CSS3-Box Shadow(阴影)</a></li>
<li><a target="_blank" rel="noopener" href="https://cubic-bezier.com/">贝塞尔曲线生成器    </a></li>
<li><a target="_blank" rel="noopener" href="http://www.heropatterns.com/">花纹背景生成器</a></li>
<li><a target="_blank" rel="noopener" href="https://github.com/bansal-io/pattern.css">花纹背景css</a> </li>
</ul>
<h3 id="CDN加速"><a href="#CDN加速" class="headerlink" title="CDN加速"></a>CDN加速</h3><ul>
<li><a target="_blank" rel="noopener" href="http://www.jsdelivr.com/">jsDelivr</a> 国外的一家优秀的公共 CDN 服务提供商</li>
<li><a target="_blank" rel="noopener" href="https://unpkg.com/">unpkg</a> cdn 服务</li>
</ul>
<h3 id="正则"><a href="#正则" class="headerlink" title="正则"></a>正则</h3><ul>
<li><a target="_blank" rel="noopener" href="https://regex101.com/">正则可视化</a></li>
</ul>
<h3 id="其他"><a href="#其他" class="headerlink" title="其他"></a>其他</h3><ul>
<li><a target="_blank" rel="noopener" href="https://ipcmen.com/">Linux命令手册</a></li>
<li><a target="_blank" rel="noopener" href="https://carbon.now.sh/">代码图片生成器</a></li>
</ul>
<h2 id="设计"><a href="#设计" class="headerlink" title="设计"></a>设计</h2><ul>
<li><a target="_blank" rel="noopener" href="http://chuangzaoshi.com/">创造师导航</a></li>
<li><a target="_blank" rel="noopener" href="http://hao.uisdc.com/">设计师网址导航</a></li>
<li><a target="_blank" rel="noopener" href="https://uimovement.com/">uimovement</a> 能从这个网站找到不少动画交互的灵感</li>
<li><a target="_blank" rel="noopener" href="https://www.awwwards.com/">awwwards</a>是一个一个专门为设计精美的网站以及富有创意的网站颁奖的网站</li>
<li><a target="_blank" rel="noopener" href="https://dribbble.com/">dribbble</a> 经常能在上面找到很多有创意好看的 gif 或者图片</li>
<li><a target="_blank" rel="noopener" href="https://www.behance.net/">Bēhance</a> dribbble 是设计师的微博，Bēhance 是设计师的博客</li>
<li><a target="_blank" rel="noopener" href="https://logojoy.com/">Logojoy</a> 使用 ai 做 logo 的网站，做出来的 logo 质量还不错。</li>
<li><a target="_blank" rel="noopener" href="http://brandmark.io/">brandmark</a> 另一个在线制作 logo 网站</li>
<li><a target="_blank" rel="noopener" href="https://instantlogodesign.com/">instant</a> 又一个 logo 制作网站</li>
<li><a target="_blank" rel="noopener" href="https://www.designevo.com/logo-maker/">logo-maker</a> 又一个 logo 制作网站 这个更简单点 就是选模板之后微调</li>
<li><a target="_blank" rel="noopener" href="https://coolors.co/">coolors</a> 帮你在线配色的网站 你能找到不少配色灵感</li>
<li><a target="_blank" rel="noopener" href="http://colorhunt.co/">colorhunt</a> 另一个配色网站</li>
<li><a target="_blank" rel="noopener" href="https://uigradients.com/#SummerDog">uigradients</a> 渐变色网站</li>
<li><a target="_blank" rel="noopener" href="https://www.designcap.com/">designcap</a> 在线海报设计</li>
<li><a target="_blank" rel="noopener" href="https://flatuicolors.com/">Flat UI 色表</a> Flat UI 色表</li>
<li><a target="_blank" rel="noopener" href="https://www.0to255.com/">0to255</a> 颜色梯度</li>
<li><a target="_blank" rel="noopener" href="https://github.com/mikolajdobrucki/ikonate">Ikonate</a> 提供免费的图标 icons</li>
<li><a target="_blank" rel="noopener" href="https://remixicon.com/">remixicon</a> 又一个提供免费图标 icons</li>
<li><a target="_blank" rel="noopener" href="https://github.com/feathericons/feather">feather</a> 免费的 icons</li>
<li><a target="_blank" rel="noopener" href="https://github.com/arcticicestudio/nord">nord </a> 北欧性冷淡风主题配色</li>
<li><a target="_blank" rel="noopener" href="https://unsplash.com/">Unsplash</a> 提供免费的高清图片</li>
<li><a target="_blank" rel="noopener" href="https://colorkitty.com/">colorkitty</a> 从你的图片中提取配色</li>
<li><a target="_blank" rel="noopener" href="http://design.youzan.com/">design.youzan</a> 有赞设计原则</li>
</ul>
<h3 id="图库"><a href="#图库" class="headerlink" title="图库"></a>图库</h3><ul>
<li><a target="_blank" rel="noopener" href="https://uigradients.com/">uigradients</a> 渐变色生成工具</li>
<li><a target="_blank" rel="noopener" href="https://www.freepik.com/">freepik</a> banner 图库</li>
<li><a target="_blank" rel="noopener" href="http://www.51yuansu.com/">觅元素</a>一天免费下载十张 psd</li>
<li><a target="_blank" rel="noopener" href="https://www.gaoding.com/">搞定设计</a> 可以抠图</li>
<li><a target="_blank" rel="noopener" href="https://www.vectorizer.io/">vectorizer</a> 真正的 png 转 svg 神器</li>
<li><a target="_blank" rel="noopener" href="https://www.zcool.com.cn/">站酷</a></li>
<li><a target="_blank" rel="noopener" href="https://huaban.com/">花瓣</a></li>
<li><a target="_blank" rel="noopener" href="https://huke88.com/">虎克</a> Ps 学习教程</li>
<li><a target="_blank" rel="noopener" href="https://themes.muffingroup.com/be/splash/">beTheme</a></li>
<li><a target="_blank" rel="noopener" href="https://www.ui.cn/">UI 中国</a></li>
</ul>
<h2 id="有趣"><a href="#有趣" class="headerlink" title="有趣"></a>有趣</h2><ul>
<li><a target="_blank" rel="noopener" href="https://fuun.fun/">奇趣网站收藏家</a> 收藏了很多有趣的网站</li>
<li><a target="_blank" rel="noopener" href="http://www.baidu-x.com/">帮你百度一下</a> 可以 <a target="_blank" rel="noopener" href="http://www.baidu-x.com/?q=%E5%92%8C%E8%B0%90%E6%9C%89%E7%88%B1%E5%AF%8C%E5%BC%BA">点我测试一下</a>-</li>
<li><a target="_blank" rel="noopener" href="http://lmgtfy.com/">国际版</a> 同<code>帮我百度一下</code>-<a target="_blank" rel="noopener" href="http://lmgtfy.com/?q=a">点我测试一下</a>-</li>
<li><a target="_blank" rel="noopener" href="https://alpha.wallhaven.cc/">wallhaven</a> 壁纸网站-</li>
<li><a target="_blank" rel="noopener" href="http://matthewrayfield.com/articles/animating-urls-with-javascript-and-emojis/#%F0%9F%8C%96">URL 地址播放 Emojis 动画</a> 在地址栏里面播放 emoji</li>
<li><a target="_blank" rel="noopener" href="https://cantunsee.space/">Can’t Unsee</a> 强烈建议前端、客户端、UI 开发的同学玩下，检查一下自己对设计稿的敏感度怎么样</li>
<li><a target="_blank" rel="noopener" href="https://talk.swift.gg/">ggtalk</a> 平时一直在听的一个技术博客</li>
<li><a target="_blank" rel="noopener" href="https://github.com/Blankj/awesome-comment">awesome-comment</a> 里面收集了很多有趣的代码注释</li>
<li><a target="_blank" rel="noopener" href="https://www.text-image.com/index.html">text-img</a> 都将图片转化为 ascii 用来写注释</li>
<li><a target="_blank" rel="noopener" href="https://github.com/beizhedenglong/weird-fonts">weird-fonts</a> 将普通字母转化为 特殊 unicode</li>
<li><a target="_blank" rel="noopener" href="https://github.com/epidemian/snake">snake</a> 在地址栏里面玩贪吃蛇</li>
<li><a target="_blank" rel="noopener" href="https://github.com/yuanfux/zero-width-lib">zero-width-lib</a> 利用零宽度字符实现 隐形水印、加密信息分享、逃脱词匹配，很有创意</li>
<li><a target="_blank" rel="noopener" href="https://www.abbreviations.com/">abbreviations</a> 查看一个简写是什么意思的网站</li>
<li><a target="_blank" rel="noopener" href="https://magi.com/">magi</a> ai 搜索神器，超屌</li>
<li><a target="_blank" rel="noopener" href="https://zzkia.noddl.me:8020/">诺基亚短信图片生成器</a></li>
</ul>
<h2 id="交互"><a href="#交互" class="headerlink" title="交互"></a>交互</h2><ul>
<li><a target="_blank" rel="noopener" href="http://aliscued.lofter.com/">微交互</a> 里面收集了市面上很多很好的微交互例子 值得学习</li>
<li><a target="_blank" rel="noopener" href="http://littlebigdetails.com/">Little Big Details</a> 同上，一个国外微交互汇集网站</li>
<li><a target="_blank" rel="noopener" href="https://cruip.com/">cruip</a> 登录页的各种页面设计，可以免费下载模板</li>
<li><a target="_blank" rel="noopener" href="https://comixify.ii.pw.edu.pl/">Comixify</a> 一个波兰团队做了非常好玩的工具，可以把视频自动转成漫画，上图是他们提供的 demo，效果很棒。</li>
<li><a target="_blank" rel="noopener" href="https://github.com/bui/taiko-web">taiko-web</a> 太鼓达人网页版 只能说很 6</li>
</ul>
<h2 id="教程"><a href="#教程" class="headerlink" title="教程"></a>教程</h2><ul>
<li><a target="_blank" rel="noopener" href="https://egghead.io/courses/execute-npm-package-binaries-with-the-npx-package-runner">npx</a> 教你怎么合理的使用 npx</li>
<li><a target="_blank" rel="noopener" href="https://www.hacksplaining.com/lessons">hacksplaining</a> 网络安全学习网站</li>
<li><a target="_blank" rel="noopener" href="https://github.com/mcuking/mobile-web-best-practice">mobile-web-best-practice</a> 移动 web 最佳实践</li>
</ul>
<h2 id="产品"><a href="#产品" class="headerlink" title="产品"></a>产品</h2><ul>
<li><a target="_blank" rel="noopener" href="http://www.pmdaniu.com/">产品大牛</a> 什么有很多完整的产品原型可以借鉴</li>
<li><a target="_blank" rel="noopener" href="https://modao.cc/pricing">磨刀</a> 快速出 ui 原型</li>
</ul>
<h2 id="实用"><a href="#实用" class="headerlink" title="实用"></a>实用</h2><ul>
<li><a target="_blank" rel="noopener" href="https://admin.typeform.com/signup">typeform</a> 一个国外的在线调查问卷网站</li>
<li><a target="_blank" rel="noopener" href="https://www.videofk.com/">VideoFk</a> VideoFk 视频在线解析下载</li>
<li><a target="_blank" rel="noopener" href="https://www.allhistory.com/">全历史</a> 历史内容聚合网站</li>
<li><a target="_blank" rel="noopener" href="https://www.uzer.me/">UzerMe</a> 云端办公工具</li>
<li><a target="_blank" rel="noopener" href="https://sobooks.cc/">SoBooks</a> 强大的电子书资源网站</li>
<li><a target="_blank" rel="noopener" href="https://www.gaoding.com/">稿定设计</a> 键式设计工具+智能抠图</li>
<li><a target="_blank" rel="noopener" href="https://dalipan.com/">大力盘</a> 百度网盘搜索</li>
<li><a target="_blank" rel="noopener" href="https://www.macbl.com/app/internet/enfi">ENFI 下载器</a> 不限速下载器</li>
<li><a target="_blank" rel="noopener" href="https://www.laihua.com/">来画视频</a> 像做 PPT 一样做短视频</li>
<li><a target="_blank" rel="noopener" href="https://www.arkie.cn/">Arkie 海报制作工具</a></li>
<li><a target="_blank" rel="noopener" href="http://www.ypppt.com/">优品 PPT</a></li>
<li><a target="_blank" rel="noopener" href="http://www.tretars.com/">比格 PPT</a></li>
<li><a target="_blank" rel="noopener" href="https://www.pexels.com/">高清免费图片</a></li>
<li><a target="_blank" rel="noopener" href="https://unsplash.com/">高清免费图片 2</a></li>
</ul>
<h2 id="Talk"><a href="#Talk" class="headerlink" title="Talk"></a>Talk</h2><ul>
<li><a target="_blank" rel="noopener" href="https://github.com/peerigon/talks">peerigon-talks</a> 收集了不少有意思的 talks</li>
</ul>
<h2 id="算法"><a href="#算法" class="headerlink" title="算法"></a>算法</h2><ul>
<li><a target="_blank" rel="noopener" href="https://github.com/azl397985856/leetcode">leetcode</a> 用 js 刷 leetcode</li>
</ul>
 
      <!-- reward -->
      
      <div id="reword-out">
        <div id="reward-btn">
          打赏
        </div>
      </div>
      
    </div>
    

    <!-- copyright -->
    
    <div class="declare">
      <ul class="post-copyright">
        <li>
          <i class="ri-copyright-line"></i>
          <strong>版权声明： </strong>
          
          本博客所有文章除特别声明外，著作权归作者所有。转载请注明出处！
          
        </li>
      </ul>
    </div>
    
    <footer class="article-footer">
       
<div class="share-btn">
      <span class="share-sns share-outer">
        <i class="ri-share-forward-line"></i>
        分享
      </span>
      <div class="share-wrap">
        <i class="arrow"></i>
        <div class="share-icons">
          
          <a class="weibo share-sns" href="javascript:;" data-type="weibo">
            <i class="ri-weibo-fill"></i>
          </a>
          <a class="weixin share-sns wxFab" href="javascript:;" data-type="weixin">
            <i class="ri-wechat-fill"></i>
          </a>
          <a class="qq share-sns" href="javascript:;" data-type="qq">
            <i class="ri-qq-fill"></i>
          </a>
          <a class="douban share-sns" href="javascript:;" data-type="douban">
            <i class="ri-douban-line"></i>
          </a>
          <!-- <a class="qzone share-sns" href="javascript:;" data-type="qzone">
            <i class="icon icon-qzone"></i>
          </a> -->
          
          <a class="facebook share-sns" href="javascript:;" data-type="facebook">
            <i class="ri-facebook-circle-fill"></i>
          </a>
          <a class="twitter share-sns" href="javascript:;" data-type="twitter">
            <i class="ri-twitter-fill"></i>
          </a>
          <a class="google share-sns" href="javascript:;" data-type="google">
            <i class="ri-google-fill"></i>
          </a>
        </div>
      </div>
</div>

<div class="wx-share-modal">
    <a class="modal-close" href="javascript:;"><i class="ri-close-circle-line"></i></a>
    <p>扫一扫，分享到微信</p>
    <div class="wx-qrcode">
      <img src="//api.qrserver.com/v1/create-qr-code/?size=150x150&data=http://example.com/2020/11/11/tips/%E4%BC%98%E8%B4%A8%E7%BD%91%E7%AB%99%E6%94%B6%E9%9B%86/" alt="微信分享二维码">
    </div>
</div>

<div id="share-mask"></div>  
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/tips/" rel="tag">tips</a></li></ul>

    </footer>
  </div>

   
  <nav class="article-nav">
    
      <a href="/2020/11/11/tips/git%E4%BB%93%E5%BA%93%E6%B8%85%E7%90%86%E7%BC%93%E5%AD%98/" class="article-nav-link">
        <strong class="article-nav-caption">上一篇</strong>
        <div class="article-nav-title">
          
            git仓库清理缓存.md
          
        </div>
      </a>
    
    
      <a href="/2020/11/11/tips/%E5%AF%B9%E6%AF%94%E6%B5%8B%E8%AF%847%E5%A4%A7%E5%89%8D%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96%E5%B8%83%E5%B1%80%E6%8B%96%E6%8B%BD%E7%9A%84%E5%B7%A5%E5%85%B7/" class="article-nav-link">
        <strong class="article-nav-caption">下一篇</strong>
        <div class="article-nav-title">对比测评7大前端可视化布局拖拽的工具.md</div>
      </a>
    
  </nav>

   
<!-- valine评论 -->
<div id="vcomments-box">
  <div id="vcomments"></div>
</div>
<script src="//cdn1.lncld.net/static/js/3.0.4/av-min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/valine@1.4.14/dist/Valine.min.js"></script>
<script>
  new Valine({
    el: "#vcomments",
    app_id: "",
    app_key: "",
    path: window.location.pathname,
    avatar: "monsterid",
    placeholder: "给我的文章加点评论吧~",
    recordIP: true,
  });
  const infoEle = document.querySelector("#vcomments .info");
  if (infoEle && infoEle.childNodes && infoEle.childNodes.length > 0) {
    infoEle.childNodes.forEach(function (item) {
      item.parentNode.removeChild(item);
    });
  }
</script>
<style>
  #vcomments-box {
    padding: 5px 30px;
  }

  @media screen and (max-width: 800px) {
    #vcomments-box {
      padding: 5px 0px;
    }
  }

  #vcomments-box #vcomments {
    background-color: #fff;
  }

  .v .vlist .vcard .vh {
    padding-right: 20px;
  }

  .v .vlist .vcard {
    padding-left: 10px;
  }
</style>

 
     
</article>

</section>
      <footer class="footer">
  <div class="outer">
    <ul>
      <li>
        Copyrights &copy;
        2015-2020
        <i class="ri-heart-fill heart_icon"></i> TzWind
      </li>
    </ul>
    <ul>
      <li>
        
        
        
        由 <a href="https://hexo.io" target="_blank">Hexo</a> 强力驱动
        <span class="division">|</span>
        主题 - <a href="https://github.com/Shen-Yu/hexo-theme-ayer" target="_blank">Ayer</a>
        
      </li>
    </ul>
    <ul>
      <li>
        
        
        <span>
  <span><i class="ri-user-3-fill"></i>访问人数:<span id="busuanzi_value_site_uv"></span></s>
  <span class="division">|</span>
  <span><i class="ri-eye-fill"></i>浏览次数:<span id="busuanzi_value_page_pv"></span></span>
</span>
        
      </li>
    </ul>
    <ul>
      
    </ul>
    <ul>
      
    </ul>
    <ul>
      <li>
        <!-- cnzz统计 -->
        
        <script type="text/javascript" src='https://s9.cnzz.com/z_stat.php?id=1278069914&amp;web_id=1278069914'></script>
        
      </li>
    </ul>
  </div>
</footer>
      <div class="float_btns">
        <div class="totop" id="totop">
  <i class="ri-arrow-up-line"></i>
</div>

<div class="todark" id="todark">
  <i class="ri-moon-line"></i>
</div>

      </div>
    </main>
    <aside class="sidebar on">
      <button class="navbar-toggle"></button>
<nav class="navbar">
  
  <div class="logo">
    <a href="/"><img src="/images/ayer-side.svg" alt="Hexo"></a>
  </div>
  
  <ul class="nav nav-main">
    
    <li class="nav-item">
      <a class="nav-item-link" href="/">主页</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/archives">归档</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/categories">分类</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/tags">标签</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" target="_blank" rel="noopener" href="http://www.baidu.com">百度</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/friends">友链</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/2019/about">关于我</a>
    </li>
    
  </ul>
</nav>
<nav class="navbar navbar-bottom">
  <ul class="nav">
    <li class="nav-item">
      
      <a class="nav-item-link nav-item-search"  title="搜索">
        <i class="ri-search-line"></i>
      </a>
      
      
      <a class="nav-item-link" target="_blank" href="/atom.xml" title="RSS Feed">
        <i class="ri-rss-line"></i>
      </a>
      
    </li>
  </ul>
</nav>
<div class="search-form-wrap">
  <div class="local-search local-search-plugin">
  <input type="search" id="local-search-input" class="local-search-input" placeholder="Search...">
  <div id="local-search-result" class="local-search-result"></div>
</div>
</div>
    </aside>
    <script>
      if (window.matchMedia("(max-width: 768px)").matches) {
        document.querySelector('.content').classList.remove('on');
        document.querySelector('.sidebar').classList.remove('on');
      }
    </script>
    <div id="mask"></div>

<!-- #reward -->
<div id="reward">
  <span class="close"><i class="ri-close-line"></i></span>
  <p class="reward-p"><i class="ri-cup-line"></i>请我喝杯咖啡吧~</p>
  <div class="reward-box">
    
    
  </div>
</div>
    
<script src="/js/jquery-2.0.3.min.js"></script>


<script src="/js/lazyload.min.js"></script>

<!-- Tocbot -->


<script src="/js/tocbot.min.js"></script>

<script>
  tocbot.init({
    tocSelector: '.tocbot',
    contentSelector: '.article-entry',
    headingSelector: 'h1, h2, h3, h4, h5, h6',
    hasInnerContainers: true,
    scrollSmooth: true,
    scrollContainer: 'main',
    positionFixedSelector: '.tocbot',
    positionFixedClass: 'is-position-fixed',
    fixedSidebarOffset: 'auto'
  });
</script>

<script src="https://cdn.jsdelivr.net/npm/jquery-modal@0.9.2/jquery.modal.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jquery-modal@0.9.2/jquery.modal.min.css">
<script src="https://cdn.jsdelivr.net/npm/justifiedGallery@3.7.0/dist/js/jquery.justifiedGallery.min.js"></script>

<script src="/dist/main.js"></script>

<!-- ImageViewer -->

<!-- Root element of PhotoSwipe. Must have class pswp. -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">

    <!-- Background of PhotoSwipe. 
         It's a separate element as animating opacity is faster than rgba(). -->
    <div class="pswp__bg"></div>

    <!-- Slides wrapper with overflow:hidden. -->
    <div class="pswp__scroll-wrap">

        <!-- Container that holds slides. 
            PhotoSwipe keeps only 3 of them in the DOM to save memory.
            Don't modify these 3 pswp__item elements, data is added later on. -->
        <div class="pswp__container">
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
        </div>

        <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
        <div class="pswp__ui pswp__ui--hidden">

            <div class="pswp__top-bar">

                <!--  Controls are self-explanatory. Order can be changed. -->

                <div class="pswp__counter"></div>

                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>

                <button class="pswp__button pswp__button--share" style="display:none" title="Share"></button>

                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>

                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>

                <!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
                <!-- element will get class pswp__preloader--active when preloader is running -->
                <div class="pswp__preloader">
                    <div class="pswp__preloader__icn">
                        <div class="pswp__preloader__cut">
                            <div class="pswp__preloader__donut"></div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
                <div class="pswp__share-tooltip"></div>
            </div>

            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
            </button>

            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
            </button>

            <div class="pswp__caption">
                <div class="pswp__caption__center"></div>
            </div>

        </div>

    </div>

</div>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/default-skin/default-skin.min.css">
<script src="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe-ui-default.min.js"></script>

<script>
    function viewer_init() {
        let pswpElement = document.querySelectorAll('.pswp')[0];
        let $imgArr = document.querySelectorAll(('.article-entry img:not(.reward-img)'))

        $imgArr.forEach(($em, i) => {
            $em.onclick = () => {
                // slider展开状态
                // todo: 这样不好，后面改成状态
                if (document.querySelector('.left-col.show')) return
                let items = []
                $imgArr.forEach(($em2, i2) => {
                    let img = $em2.getAttribute('data-idx', i2)
                    let src = $em2.getAttribute('data-target') || $em2.getAttribute('src')
                    let title = $em2.getAttribute('alt')
                    // 获得原图尺寸
                    const image = new Image()
                    image.src = src
                    items.push({
                        src: src,
                        w: image.width || $em2.width,
                        h: image.height || $em2.height,
                        title: title
                    })
                })
                var gallery = new PhotoSwipe(pswpElement, PhotoSwipeUI_Default, items, {
                    index: parseInt(i)
                });
                gallery.init()
            }
        })
    }
    viewer_init()
</script>

<!-- MathJax -->

<!-- Katex -->

<!-- busuanzi  -->


<script src="/js/busuanzi-2.3.pure.min.js"></script>


<!-- ClickLove -->

<!-- ClickBoom1 -->

<!-- ClickBoom2 -->

<!-- CodeCopy -->


<link rel="stylesheet" href="/css/clipboard.css">

<script src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script>
<script>
  function wait(callback, seconds) {
    var timelag = null;
    timelag = window.setTimeout(callback, seconds);
  }
  !function (e, t, a) {
    var initCopyCode = function(){
      var copyHtml = '';
      copyHtml += '<button class="btn-copy" data-clipboard-snippet="">';
      copyHtml += '<i class="ri-file-copy-2-line"></i><span>COPY</span>';
      copyHtml += '</button>';
      $(".highlight .code pre").before(copyHtml);
      $(".article pre code").before(copyHtml);
      var clipboard = new ClipboardJS('.btn-copy', {
        target: function(trigger) {
          return trigger.nextElementSibling;
        }
      });
      clipboard.on('success', function(e) {
        let $btn = $(e.trigger);
        $btn.addClass('copied');
        let $icon = $($btn.find('i'));
        $icon.removeClass('ri-file-copy-2-line');
        $icon.addClass('ri-checkbox-circle-line');
        let $span = $($btn.find('span'));
        $span[0].innerText = 'COPIED';
        
        wait(function () { // 等待两秒钟后恢复
          $icon.removeClass('ri-checkbox-circle-line');
          $icon.addClass('ri-file-copy-2-line');
          $span[0].innerText = 'COPY';
        }, 2000);
      });
      clipboard.on('error', function(e) {
        e.clearSelection();
        let $btn = $(e.trigger);
        $btn.addClass('copy-failed');
        let $icon = $($btn.find('i'));
        $icon.removeClass('ri-file-copy-2-line');
        $icon.addClass('ri-time-line');
        let $span = $($btn.find('span'));
        $span[0].innerText = 'COPY FAILED';
        
        wait(function () { // 等待两秒钟后恢复
          $icon.removeClass('ri-time-line');
          $icon.addClass('ri-file-copy-2-line');
          $span[0].innerText = 'COPY';
        }, 2000);
      });
    }
    initCopyCode();
  }(window, document);
</script>


<!-- CanvasBackground -->


    
  </div>
</body>

</html>